﻿using System;
using System.Collections.Generic;
using MovieAPI.Models;
using MovieAPI.DAL;
namespace MovieAPI.BLL
{
    public class MovieInfoBLL
    {
        public static List<MovieInfo> GetMovieInfos()
        {
            return MovieInfoDAL.GetAllMovie();
        }
        public static List<MovieInfo> GetComingMovie()
        {
            return MovieInfoDAL.GetComingMovie();
        }
        public static List<MovieInfo> GetOnMovie()
        {
            return MovieInfoDAL.GetOnMovie();
        }
        public static List<String> MovieType()
        {
            return MovieInfoDAL.GetMovieType();
        }
        public static List<string> GetMovieCon()
        {
            return MovieInfoDAL.GetMovieCon();
        }
        public static List<string> GetMovieYear()
        {
            return MovieInfoDAL.GetMovieYear();
        }
        public static List<MovieInfo> GetMovieByType(string MovieType, int? MovieYear, string MovieCon,string MovieIndex)
        {
            return MovieInfoDAL.GetMovieByType( MovieType,  MovieYear,  MovieCon,MovieIndex);
        }
        }
}